package com.szrt.day20170427.designmodel.demo04;


import org.junit.Test;

public class CommonTest {
	
	
	
	@Test
	public void studentAddTest() throws Exception {
		
		StudentService service  = new StudentServiceImpl();
		service.add("zxx", "123");
		
		
	}
	
	@Test
	public void studentFTest() throws Exception {
		
		StudentService service  = new StudentServiceImpl();
		service.findByPhone("123");
		
		
	}
	
	@Test
	public void teacherTest() throws Exception {
		
		TeacherService service  = new TeacherServiceImpl();
		
		service.addTeacher("lxx");
		
	}

}
